package cn.keepme.ep.member.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;

/**   
 * @Title: Entity
 * @Description: 临时用户
 * @author zhangdaihao
 * @date 2015-12-05 00:24:27
 * @version V1.0   
 *
 */
@Entity
@Table(name = "tp_user_category_trade", schema = "")
@DynamicUpdate(true)
@DynamicInsert(true)
@SuppressWarnings("serial")
public class UserCategoryTradeEntity implements java.io.Serializable {
	/**id*/
	private java.lang.String id;
	/**临时用户uuid*/
	private java.lang.String tmpUserId;
	
	/**交易所id*/
	private java.lang.String tradeId;
	/**交易所名称*/
	private java.lang.String tradeName;
	
	/**交易所品种对应房间id - tp_analyze_room.id */
	private java.lang.String tradeRoomId;
	/**交易所品种对应房间 有效状态*/
	private java.lang.String tradeRoomIdStatus;
	
	/** tp_analyze_category - 品种code */
	private java.lang.String categoryCode;
	/** tp_analyze_category - 品种id */
	private java.lang.String categoryId;
	
	/**createDate*/
	private java.util.Date createDate;
	/**updateDate*/
	private java.util.Date updateDate;
	
	
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  id
	 */
	
	@Id
	@GeneratedValue(generator = "paymentableGenerator")
	@GenericGenerator(name = "paymentableGenerator", strategy = "uuid")
	@Column(name ="ID",nullable=false,length=32)
	public java.lang.String getId(){
		return this.id;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  id
	 */
	public void setId(java.lang.String id){
		this.id = id;
	}
	/**
	 *方法: 取得java.util.Date
	 *@return: java.util.Date  createDate
	 */
	@Column(name ="CREATE_DATE",nullable=true)
	public java.util.Date getCreateDate(){
		return this.createDate;
	}

	/**
	 *方法: 设置java.util.Date
	 *@param: java.util.Date  createDate
	 */
	public void setCreateDate(java.util.Date createDate){
		this.createDate = createDate;
	}
	/**
	 *方法: 取得java.util.Date
	 *@return: java.util.Date  updateDate
	 */
	@Column(name ="UPDATE_DATE",nullable=true)
	public java.util.Date getUpdateDate(){
		return this.updateDate;
	}

	/**
	 *方法: 设置java.util.Date
	 *@param: java.util.Date  updateDate
	 */
	public void setUpdateDate(java.util.Date updateDate){
		this.updateDate = updateDate;
	}

	@Column(name ="trade_id",nullable=true,length=32)
	public java.lang.String getTradeId() {
		return tradeId;
	}

	public void setTradeId(java.lang.String tradeId) {
		this.tradeId = tradeId;
	}

	@Column(name ="trade_room_id",nullable=true,length=32)
	public java.lang.String getTradeRoomId() {
		return tradeRoomId;
	}

	public void setTradeRoomId(java.lang.String tradeRoomId) {
		this.tradeRoomId = tradeRoomId;
	}

	@Column(name ="trade_room_id_status",nullable=true,length=2)
	public java.lang.String getTradeRoomIdStatus() {
		return tradeRoomIdStatus;
	}

	public void setTradeRoomIdStatus(java.lang.String tradeRoomIdStatus) {
		this.tradeRoomIdStatus = tradeRoomIdStatus;
	}

	@Column(name ="tmp_user_id",nullable=true,length=32)
	public java.lang.String getTmpUserId() {
		return tmpUserId;
	}

	public void setTmpUserId(java.lang.String tmpUserId) {
		this.tmpUserId = tmpUserId;
	}
	
	@Column(name ="CATEGORY_CODE",nullable=true,length=32)
	public java.lang.String getCategoryCode() {
		return categoryCode;
	}

	public void setCategoryCode(java.lang.String categoryCode) {
		this.categoryCode = categoryCode;
	}

	@Column(name ="TRADE_NAME",nullable=true,length=32)
	public java.lang.String getTradeName() {
		return tradeName;
	}

	public void setTradeName(java.lang.String tradeName) {
		this.tradeName = tradeName;
	}

	@Column(name ="CATEGORY_ID",nullable=true,length=32)
	public java.lang.String getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(java.lang.String categoryId) {
		this.categoryId = categoryId;
	}
	
}
